<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"></meta>
<title><?=$title?></title>
<meta name="viewport" content="width=320px,initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<link href="style/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/jquery-1.7.1.min.js"></script>
<script>
	$(document).ready(function(){
		$('.back-button').click(function(){
			window.history.back();	
		});
	});
</script>

</head>

<body>
<?php
	include("operations/get_lang.php");
	$value = getlang();
	include($value);
	session_start();
	if(!$_SESSION['username'])
	{
		header( 'Location: login.php' );
	}
	else 
	{		
		$username = $_SESSION['username'];
		$id_employee = $_SESSION['IDEmployee'];
	}
?>
	<div class="wrapper">
    	<div class="top">
    	<a href="menu.php" >Menu</a>
    	| <a href="login.php" >Log out</a>
        </div>
        
        <?include($content);?>
        
        <div class="footer">
        	<span>2012 Elisoft Company - All right reserved</span>
        </div>
    </div>    
</body>
</html>
